package com.lyn.pluginbazaar.api;

import com.lyn.pluginbazaar.entity.LoginUser;
import com.lyn.pluginbazaar.entity.PagingQuery;
import com.lyn.pluginbazaar.entity.Result;
import org.springframework.http.HttpRequest;
import org.springframework.web.servlet.resource.HttpResource;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserAdapter extends ApiAdapter{

    Result login(LoginUser loginUser, HttpServletRequest request,HttpServletResponse response);

    Result logOut(HttpServletRequest request, HttpServletResponse response);

    Result getCheckCode(HttpServletRequest request, HttpServletResponse response);

    Result checkLogin(HttpServletRequest request, HttpServletResponse response);

}
